﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EFong.Contract
{
    [DataContract]
    public class RoleAuthorizedItem
    {

        private AuthorizedItem _authorizedItem;
        [DataMember]
        public AuthorizedItem AuthorizedItem
        {
            get { return _authorizedItem; }
            set { _authorizedItem = value; }
        }

        private bool _allow = true;
        [DataMember]
        public bool Allow
        {
            get { return _allow; }
            set { _allow = value; }
        }
    }
}
